<div id="component">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5><span><vc:i18n name="申请信息" namespace="resourceEnterDetailManage"></vc:i18n></span></h5>
                    <div class="ibox-tools" style="top:10px;">

                    </div>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-md-3">
                            <h5><span><vc:i18n name="审核状态" namespace="resourceEnterDetailManage"></vc:i18n></span>:</h5>
                            <i class="fa fa-search">:</i><span>{{purchaseApplyDetailInfo.stateName}}</span>
                        </div>
                        <div class="col-md-3">
                            <h5><span><vc:i18n name="申请人" namespace="resourceEnterDetailManage"></vc:i18n></span>:</h5>
                            <i class="fa fa-user">:</i><span>{{purchaseApplyDetailInfo.userName}}</span>
                        </div>
                        <div class="col-md-3">
                            <h5><span><vc:i18n name="申请时间" namespace="resourceEnterDetailManage"></vc:i18n></span>:</h5>
                            <i class="fa fa-clock-o">:</i><span>{{purchaseApplyDetailInfo.createTime}}</span>
                        </div>
                    </div>
                    <hr style="border-top:1px dashed #987cb9;" width="100%" color="#987cb9" size=1>
                    <div class="row">
                        <div class="col-md-12">
                            <h5><span><vc:i18n name="申请说明" namespace="resourceEnterDetailManage"></vc:i18n></span>:</h5>
                            <i class="fa fa-pencil">:</i> <span>{{purchaseApplyDetailInfo.description}}</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5><span><vc:i18n name="申请物资" namespace="resourceEnterDetailManage"></vc:i18n></span></h5>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny"
                           data-page-size="15"
                    >
                        <thead>
                        <tr>
                            <th class="text-center"><span><vc:i18n name="物资" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="物资编码" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="单价" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="库存" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="申请数量" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="入库数量" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="备注" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                            <th class="text-center"><span><vc:i18n name="操作" namespace="resourceEnterDetailManage"></vc:i18n></span></th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="resourceStore in purchaseApplyDetailInfo.purchaseApplyDetailVo">
                            <td class="text-center">{{resourceStore.resName}}</td>
                            <td class="text-center">{{resourceStore.resCode}}</td>
                            <td class="text-center">{{resourceStore.price}}</td>
                            <td class="text-center">{{resourceStore.stock}}</td>
                            <td class="text-center">{{resourceStore.quantity}}</td>
                            <td class="text-center">{{resourceStore.enterQuantity}}</td>
                            <td class="text-center">{{resourceStore.remark}}</td>
                            <td class="text-center">
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs"
                                            v-on:click="_openAddResourceQuantityModel(resourceStore)"><span><vc:i18n name="入库" namespace="resourceEnterDetailManage"></vc:i18n></span>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="common/addResourceQuantity"></vc:create>
</div>
